golang.org/x/net/http2.stream.body (field)
11 uses
golang.org/x/net/http2 (current package)
server.go#L649: body *pipe // non-nil if expecting DATA frames
server.go#L1725: if p := st.body; p != nil {
server.go#L1880: if st.body == nil {
server.go#L1891: st.body.CloseWithError(fmt.Errorf("sender tried to send more than declared Content-Length of %d bytes", st.declBodyBytes))
server.go#L1905: wrote, err := st.body.Write(data)
server.go#L1959: st.body.CloseWithError(fmt.Errorf("request declared a Content-Length of %d but only wrote %d bytes",
server.go#L1962: st.body.closeWithErrorAndCode(io.EOF, st.copyTrailersToHandlerRequest)
server.go#L1963: st.body.CloseWithError(io.EOF)
server.go#L1982: if st.body != nil {
server.go#L1985: st.body.CloseWithError(fmt.Errorf("%w", os.ErrDeadlineExceeded))
server.go#L2084: st.body = req.Body.(*requestBody).pipe // may be nil
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)